package com.ys.service.amazonorder.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ys.entity.amazonorder.TpAmazonSellerException;
import com.ys.mapper.amazonorder.TpAmazonSellerExceptionMapper;
import com.ys.service.amazonorder.TpAmazonSellerExceptionService;

@Service("tpAmazonSellerExceptionService")
public class TpAmazonSellerExceptionServiceImpl implements TpAmazonSellerExceptionService {

	@Autowired
	private TpAmazonSellerExceptionMapper tpAmazonSellerExceptionMapper;

	@Override
	public void add(String sellerId, String sellerName, String remark) {
		TpAmazonSellerException entity = TpAmazonSellerException.tpAmazonSellerException(sellerId, sellerName, remark, 1);
		tpAmazonSellerExceptionMapper.insert(entity);
	}
}
